#pragma once

#include "POP3.h"

#include <winsock2.h>
#include <ws2tcpip.h>

#include <string>
using namespace std;

namespace libdmail
{
	class POP3Client
	{
	private:
		string mUser;
		string mPass;
		
		POP3 *mPop3;

	public:
		POP3Client(void);
		POP3Client(string user, string pass);

	public:
		~POP3Client(void);
	
	public:
		int getMailFromPOP3(string pop3Server, string pop3Port, string user, string pass);
	
	};
}